<template>
   <MainBoard></MainBoard>
</template>

<script>
import  MainBoard from '@/components/MainBoard'
import {reactive} from 'vue'
import { ElMessage } from 'element-plus'
export default {
  name: 'App',
  components:  {MainBoard},
  setup() {

    let data = reactive({
      name: '范坚强',
      obj: {
        age: 28
      }
    })

    function handleTab() {
      ElMessage('this is a message.')
    }

    return {
      data,
      handleTab
    }
  }
}
</script>